package org.apache.dolphinscheduler.dao.mapper;

import org.apache.dolphinscheduler.dao.entity.Bill;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 收支明细表 Mapper 接口
 * </p>
 *
 * @author denggh
 * @since 2023-08-14
 */
public interface BillMapper extends BaseMapper<Bill> {

    List<Bill> selectBillList(@Param("userId") Integer userId, @Param("billType") Integer billType,
                              @Param("startDate") String startDate, @Param("endDate") String endDate);

    List<Bill> selectBillListByMonth(@Param("userId") Integer userId, @Param("billType") Integer billType,
                                     @Param("startDate") String startDate, @Param("endDate") String endDate);
}
